package com.carltechnology.mahjonggamecaculation.dao;

import com.carltechnology.mahjonggamecaculation.mode.IDetailGameData;
import com.carltechnology.mahjonggamecaculation.mode.IGameData;
import com.carltechnology.mahjonggamecaculation.mode.IGameRuntimeData;

import java.util.List;

/**
 * Created by WZTCM on 2016/6/28.
 */
public interface IMahjongGameInsertComponent {
    /**
     * insert mode into mahjonggame table
     *
     * @param mode
     */
    void insertMahjongGameData(IGameData mode);

    /**
     * insert mode into detail game table
     *
     * @param mode
     */
    void insertMahjongDetailGameData(IDetailGameData mode);

    /**
     * insert mode into runtime game table
     *
     * @param mode
     */
    void insertRuntimeGameData(IGameRuntimeData mode);

    /**
     * insert lists mode into running time game table
     *
     * @param list
     */
    void insertRunningModeList(List<IGameRuntimeData> list);
}
